package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-03-27
 */
public class InspectProject extends Model<InspectProject> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
    /**
     * 项目编号
     */
   @TableField("PROJECT_NO")
   private String projectNo;
    /**
     * 项目描述
     */
   @TableField("PROJECT_DESC")
   private String projectDesc;
    /**
     * 检验类型
     */
   @TableField("CHECK_TYPE")
   private String checkType;
    /**
     * 版本
     */
   @TableField("REVISION")
   private String revision;
    /**
     * 当前版本
     */
   @TableField("CURRENT_REVISION")
   private String currentRevision;
    /**
     * 状态
     */
   @TableField("STATUS")
   private String status;
    /**
     * 数据收集组
     */
   @TableField("DATA_GROUP")
   private String dataGroup;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("CREATED_USER")
   private String createdUser;
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;
   @TableField("UPDATED_USER")
   private String updatedUser;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getProjectNo() {
      return projectNo;
   }

   public void setProjectNo(String projectNo) {
      this.projectNo = projectNo;
   }

   public String getProjectDesc() {
      return projectDesc;
   }

   public void setProjectDesc(String projectDesc) {
      this.projectDesc = projectDesc;
   }

   public String getCheckType() {
      return checkType;
   }

   public void setCheckType(String checkType) {
      this.checkType = checkType;
   }

   public String getRevision() {
      return revision;
   }

   public void setRevision(String revision) {
      this.revision = revision;
   }

   public String getCurrentRevision() {
      return currentRevision;
   }

   public void setCurrentRevision(String currentRevision) {
      this.currentRevision = currentRevision;
   }

   public String getStatus() {
      return status;
   }

   public void setStatus(String status) {
      this.status = status;
   }

   public String getDataGroup() {
      return dataGroup;
   }

   public void setDataGroup(String dataGroup) {
      this.dataGroup = dataGroup;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String PROJECT_NO = "PROJECT_NO";

   public static final String PROJECT_DESC = "PROJECT_DESC";

   public static final String CHECK_TYPE = "CHECK_TYPE";

   public static final String REVISION = "REVISION";

   public static final String CURRENT_REVISION = "CURRENT_REVISION";

   public static final String STATUS = "STATUS";

   public static final String DATA_GROUP = "DATA_GROUP";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectProject{" +
         "handle = " + handle +
         ", site = " + site +
         ", projectNo = " + projectNo +
         ", projectDesc = " + projectDesc +
         ", checkType = " + checkType +
         ", revision = " + revision +
         ", currentRevision = " + currentRevision +
         ", status = " + status +
         ", dataGroup = " + dataGroup +
         ", createdDateTime = " + createdDateTime +
         ", createdUser = " + createdUser +
         ", updatedDateTime = " + updatedDateTime +
         ", updatedUser = " + updatedUser +
         "}";
   }
}